<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html lang="en">
  <head>
    <title>比康医箱</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"> 
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
    

<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
<link href="../static/css/bootstrap.min.css" rel="stylesheet" media="screen" />
<link rel="stylesheet" href="../static/css/font-awesome.min.css" />
<link rel="stylesheet" href="../static/css/app.css" id="maincss">
<link rel="stylesheet" type="text/css" href="../static/css/button.css">
<link rel="stylesheet" type="text/css" href="../static/css/dialog.css">
<link rel="stylesheet" type="text/css" href="../static/css/pagination.css">
<link rel="stylesheet" type="text/css" href="../static/css/common-style.css">
<script type="text/javascript">
	var path = '';		
</script>
<script src="../static/js/jquery-2.1.4.min.js"></script>
<script type="text/javascript" src="../static/js/jquery.validator.min.js"></script>
<script type="text/javascript" src="../static/js/zh-CN.js"></script>
<script src="../static/js/jquery.cookie.js"></script>
<script src="../static/js/bootstrap.min.js"></script>
<script type="text/javascript" src="../static/js/jquery.storageapi.js"></script>
<script  type="text/javascript" src="../static/js/app.js"></script>
<script src="../static/js/common.js"></script>
<script src="../static/js/common-getInfo.js"></script>
<script src="../static/js/common-validate.js"></script>
<script src="../static/js/common-util.js"></script>
<script src="../static/js/common-dataBind.js"></script>
<script src="../static/js/jquery.PrintArea.js"></script>
<script language="javascript" type="text/javascript">
/**获取是否在客户端标志
 * sessionStorage 根据打开浏览器时获取参数*/
function getKeHudbz() {
	var keHudURL =$('#mainIframe').context.referrer;
	function getValue(url, name) {
	    var reg = new RegExp('(\\?|&)' + name + '=([^&?]*)', 'i');
	    var arr = url.match(reg);
	    if (arr) {
	        return arr[2];
	    }
	    return null;
	}
	var where = getValue(keHudURL, 'where');
	if (where != null) {
		if(where == "Q8gmoUGvFHpoSA43EVyVkg==") {
			sessionStorage.setItem('isKeHud', true);
		} else {
			sessionStorage.setItem('isKeHud', false);
		}
	} 
	if (sessionStorage.getItem('isKeHud') == 'true'){
		return true;
	} else if (sessionStorage.getItem('isKeHud') == 'false') {
		return false;;
	}
}
// 客户端标志
var isKeHud = getKeHudbz();
var Sys = {};
var ua = navigator.userAgent.toLowerCase();
var s;
(s = ua.match(/msie ([\d.]+)/)) ? Sys.ie = s[1] : (s = ua
		.match(/firefox\/([\d.]+)/)) ? Sys.firefox = s[1] : (s = ua
		.match(/chrome\/([\d.]+)/)) ? Sys.chrome = s[1] : (s = ua
		.match(/opera.([\d.]+)/)) ? Sys.opera = s[1] : (s = ua
		.match(/version\/([\d.]+).*safari/)) ? Sys.safari = s[1] : 0;
		
//以下进行测试
/* if (Sys.chrome) {
	//document.write('Chrome: ' + Sys.chrome.substr(0,2));
	//目前Chrome浏览器需要判断支持情况
	var banBenHao = Sys.chrome.substr(0, 2);
	if (parseInt(banBenHao) >= 40) {
		//版本号大于53,跳转到登录页
	} else {
		//版本号小于53,跳转到支持页
		window.location.href="/jump/toZhichi"; 
	}
}
if(!Sys.safari&&!Sys.chrome){
	//其他浏览器，都不支持
	window.location.href="/jump/toZhichi"; 
} */
</script>
<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8">
	</head>
	<body>
	<input id="yb-init" style="display: none" value=""/>
	</body>
</html>

	<link rel="stylesheet" href="../static/css/yonghuxzzs.css">
	<link rel="stylesheet" href="../static/css/chuangjianzs.css">
	<link rel="stylesheet" href="../static/css/zhanghaoxx.css">
	<link rel="stylesheet" href="../static/css/xuanzezs.css">
	<link rel="stylesheet" type="text/css" href="../static/css/header.css">
	<link rel="stylesheet" href="../static/css/common-fs.css">
  </head>
  
  <body>
     <div class="s-container">
		<header class="header clearfix">
				<div class="h-container" style="float:left;margin:0;">
					<img src="../static/image/bk_logox.png" alt="logo" class="h-logo">
					
					<span class="g-cloudclinic" style="vertical-align: middle;">比康医箱</span>
					<!-- <div class="pnone-number">客服电话：<span>+86 571 87207662</span> </div> -->
					<div class="h-help-ect">
		              <div class="h-doctor my-message" id="m-message" style="margin-right:0; border-bottom:solid 4px #097c25;">
		              		<span id="helloworld" style="color:#fff;">1357...</span> 
		              		<i class="fa fa-caret-right fa-lg" aria-hidden="true" style="color:#fff;"></i>
		              		<ul class="pull-down-list">
		              			<li><a href="javascript:;" onclick=toZhaohaoxx()>帐户信息</a></li>

		              			 <li><a href="toXuanzezs.jsp">我的诊所</a></li> 
		              			<li><a href="/yonghu/tuichu">退出</a></li>
		              		</ul>
		              </div>
		            </div>
				</div>
		</header>
			 <div class="g-main">
				<div class="my-clinic message-title">
					<b></b>
					<span>帐户信息</span>
				</div>
				<div class="mycc-main clearfix">
				
				<form class="form-horizontal" id="yourForm" onsubmit="return false;">
				<div class="g-msg"><div class="msg-box" id="msg_holder"><span class="n-msg"></span></div></div>
					<div class="g-form-group">
						<div class="g-shield">
							<div class="g-label-name" style="margin-bottom: 20px;">手机号码：</div>
							<span class="g-number" id="shoujihm"> 13575018102</span>
							<span class="g-change-number">更换手机号码</span>
						</div>
						<input type="hidden" name="isNew" value="false" id="isNew">
						<div class="g-shield isHide">
					    	<label class="g-label-name">新手机号码：</label>
					    	<input type="text" class="g-input g-input-name form-control" data-rule="" placeholder="请输入手机号码 " id="xinshoujihm" >
						</div>	
						<input type="hidden" name="shoujihm" id="hiddenShoujihm">
						<div class="g-shield isHide">
							<div class="g-label-name">验证码：</div>
							<input type="text" class="g-input g-input-name form-control g-change-control"placeholder="请输入验证码"  value="" name="yanzhengma" id="yanzhengma" style="width: 130px;min-width: 130px;margin-right: 5px;">
							<input type="button"  class="btn  btn-success " data-rule="" id="g-verification-code"  value="获取验证码"><span class="yanzhengma-msg"></span>
						</div>
						<div class="g-shield">
					    	<label class="g-label-name"><!-- <span class="glyph-star">*</span> -->姓名：</label>
					    	<input type="text" class="g-input g-input-name form-control" data-rule="姓名: required;length(1~64)" data-target="#msg_holder" placeholder="请输入您的姓名" name="xingming" value="13575018102">
						</div>
						<div class="g-shield g-radio-shield" id="xingbie">   
							    <label class="g-label-name" style="margin-bottom: 20px;" >性别：</label>
								<input type="radio" id="chinese"  value="1" name="xingbie"  >
  								<label name="chinese" id="chinese-label" for="chinese"  >&nbsp;&nbsp;&nbsp;男</label>
  								<input type="radio" id="europe"  value="2" name="xingbie"  />
  								<label name="europe" for="europe" id="europe-label"  >&nbsp;&nbsp;&nbsp;女</label>
								<input type="radio"   value="0" name="xingbie" checked="checked"  >
						</div>	
						<div class="g-shield">
					    	<label class="g-label-name">原密码：</label>
					    	<input type="password" class="g-input g-input-name form-control" name="yuanmima" placeholder="请输入原密码" id="yuanmima" >
						</div>	
						<div class="g-shield">
					    	<label class="g-label-name">新密码：</label>
					    	<input type="password" class="g-input g-input-name form-control" data-rule="密码:password;" data-target="#msg_holder" name="password"  placeholder="请输入新密码" id="xinmima" >
						</div>	
						<div class="g-shield">
					    	<label class="g-label-name">确认新密码：</label>
					    	<input type="password" class="g-input g-input-name form-control" data-rule="确认密码: match(password);" data-msg="两次密码不一致 " data-target="#msg_holder" placeholder="请输入新密码" name="mima" id="querenmm">
						</div>
						<input type="hidden" id="hizhuangtai" name="zhuangtai">
						<div class="g-form-button obtn-center">
								<div class="btn btn-default operation-btn button button1" id="btnQuxiao" type="button" onclick='window.history.back()'><span>取消</span></div>
			 			 		<button class="btn btn-success operation-btn button" id="btnSubmit">保存</button> 
			 			</div>	
					</div>
					</form>
				</div>
		</div>
    </div>
      
    <script type="text/javascript" src="../static/js/zhanghaoxx-dl.js"></script>
	<script type="text/javascript">
		var shoujihm = '13575018102';	
		var msg='null'; 
		var flag='2';
		var sjc='null';
		var zhensuoid='null';
		msg=decodeURI(decodeURI(msg));
		if(msg!=null&&msg!='null'){
			notifySuccess(msg,sjc);
		}
		getFlag(flag,zhensuoid);
		function toZhaohaoxx(){
			window.location.href="toZhanghaoxxDl.jsp?flag="+flag+"&zhensuoid="+zhensuoid;
		}
		$("#m-message").mouseover(function(){
        	$("#m-message i").removeClass("fa-caret-right").addClass("fa-caret-down");
        }).mouseout(function(){
        	$("#m-message i").removeClass("fa-caret-down").addClass("fa-caret-right");
        });
	</script>
  </body>

</html>

